//
//  HeaderDefine.h
//  NetworkingSevers
//
//  Created by Samuel on 14-4-17.
//
//

//#ifndef NetworkingSevers_HeaderDefine_h
//#define NetworkingSevers_HeaderDefine_h

#define TOPURL @"http://localhost:8888/"
#define ACTIONURL @"myappsys/"
#define ONLYCOOKIE @"hello"


//MBLog 全局开关
#define LOG 1
#if LOG
#define LSLog(fmt, ...) NSLog((@"%s [Line %d] " fmt), __PRETTY_FUNCTION__, __LINE__, ##__VA_ARGS__);
#else
#define LSLog(fmt, ...)
#endif

//颜色
#define kUIColorFromRGB(rgbValue) [UIColor colorWithRed:((float)((rgbValue & 0xFF0000) >> 16))/255.0 green:((float)((rgbValue & 0xFF00) >> 8))/255.0 blue:((float)(rgbValue & 0xFF))/255.0 alpha:1.0]



//#endif
#define S_NONCE @"nonce"
#define S_LOGINCOOCKIE @"cookie"